﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HuChaHuRen.HeNan.Models
{
    [SugarTable("ReportFile")]
    public class ReportFile
    {
        /// <summary>
		/// 
		/// </summary>
        [SugarColumn(ColumnName = "ID", IsPrimaryKey = true, IsIdentity = true)]
        public int ID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnName = "StudyID")]
        public int StudyID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnName = "PatientID")]
        public int PatientID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnName = "ReportID")]
        public int ReportID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnName = "ReportPDF")]
        public byte[] ReportPDF { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnName = "CreateTime")]
        public DateTime? CreateTime { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnName = "WenJianLeiXing")]
        public string WenJianLeiXing { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnName = "PatientName")]
        public string PatientName { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnName = "PDFFileHost")]
        public string PDFFileHost { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnName = "PDFFileUrl")]
        public string PDFFileUrl { get; set; }
    }
}
